Component({
  properties: {
    value: { type: String, value: '' },
    styles: { type: String, value: '' },
    copy: { type: Boolean, value: true }
  },
  data: {

  },
  methods: {
    copy () {
      wx.setClipboardData({ data: this.data.value })
    }
  }
})
